﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="SettingsPage.aspx.cs" Inherits="KBVault.Web.Application.SettingsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContent" runat="server">
    <div class="panel panel-primary">
        <div class="panel-heading">
            Settings
        </div>
        <div class="panel-body">
                <div class="row clearfix">
                <div class="col-lg-12">
                    <div class="form-group">
                        <label for="txtArticleCount">
                            Article Count Per Category On Home Page</label>
                        <asp:TextBox runat="server" ID="txtArticleCount" ClientIDMode="Static" CssClass="form-control"
                            placeholder="Enter number of articles"></asp:TextBox>
                        <asp:RegularExpressionValidator runat="server" ID="vldArticleCount" ControlToValidate="txtArticleCount"
                            Display="Dynamic" ErrorMessage="Article Count must be a valid number between 1 and 9. <br/>"
                            ValidationExpression="^[1-9]{1}$"></asp:RegularExpressionValidator>
                        <label for="txtCompanyName">
                            Portal Name</label>
                        <asp:TextBox runat="server" ID="txtCompanyName" ClientIDMode="Static" CssClass="form-control"
                            placeholder="Your portal Name"></asp:TextBox>
                        <label for="txtTagLine">
                            Tagline</label>
                        <asp:TextBox runat="server" ID="txtTagLine" ClientIDMode="Static" CssClass="form-control"
                            placeholder="Your tagline"></asp:TextBox>
                        <label for="txtJumbotronText">
                            Jumbo Text</label>
                        <asp:TextBox runat="server" ID="txtJumbotronText" ClientIDMode="Static" CssClass="form-control"
                            placeholder="Your jumbo phrase "></asp:TextBox>
                        <label for="txtShareThisPubKey">
                            ShareThis Public Key</label>
                        <asp:TextBox runat="server" ID="txtShareThisPubKey" ClientIDMode="Static" CssClass="form-control"
                            placeholder="ShareThis Public Key"></asp:TextBox>
                            <label for="txtDisqusShortName">
                            Disqus Site Name</label>
                        <asp:TextBox runat="server" ID="txtDisqusShortName" ClientIDMode="Static" CssClass="form-control"
                            placeholder="Disqus Site Name"></asp:TextBox>
                    </div>
                </div>
               
            </div>
            <div class="row">
                <div class="col-lg-2">
                    <asp:Button runat="server" Text="Save" CssClass="btn btn-primary" ID="btnSave" OnClick="btnSave_Click" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
